package com.dianping.cat.home.dependency.config.transform;

import com.dianping.cat.home.dependency.config.IVisitor;
import com.dianping.cat.home.dependency.config.entity.DomainConfig;
import com.dianping.cat.home.dependency.config.entity.EdgeConfig;
import com.dianping.cat.home.dependency.config.entity.NodeConfig;
import com.dianping.cat.home.dependency.config.entity.TopologyGraphConfig;




public abstract class BaseVisitor
  implements IVisitor
{
  public void visitDomainConfig(DomainConfig domainConfig) {}
  
  public void visitEdgeConfig(EdgeConfig edgeConfig) {}
  
  public void visitNodeConfig(NodeConfig nodeConfig) {
/* 20 */     for (DomainConfig domainConfig : nodeConfig.getDomainConfigs().values()) {
/* 21 */       visitDomainConfig(domainConfig);
    }
  }

  
  public void visitTopologyGraphConfig(TopologyGraphConfig topologyGraphConfig) {
/* 27 */     for (NodeConfig nodeConfig : topologyGraphConfig.getNodeConfigs().values()) {
/* 28 */       visitNodeConfig(nodeConfig);
    }
    
/* 31 */     for (EdgeConfig edgeConfig : topologyGraphConfig.getEdgeConfigs().values())
/* 32 */       visitEdgeConfig(edgeConfig); 
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dependency/config/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */